package cn.com.taiji.oospub.wechat.mapper;

import cn.com.taiji.oospub.wechat.entity.Courses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 菜品表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-10-30
 */
public interface CoursesMapper extends BaseMapper<Courses> {

    @Select("select c.* from Courses c where meal_time_code=#{menuTimeCode} and courses_type_id=#{typeId} and is_delete = 0")
    List<Courses> listdayMenu(String menuTimeCode, String typeId);


}
